package com.jf.blog.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "分类表单", description = "添加或修改分类时使用")
public class CategoryForm {

    @ApiModelProperty("分类编号")
    private Integer categoryId;
    @ApiModelProperty(value = "分类名称", required = true)
    private String name;
    @ApiModelProperty("分类介绍")
    private String profile;
    @ApiModelProperty(value = "状态", required = true, allowableValues = "1,2")
    private Integer status;
}
